package com.gxa.modules.property.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Notice {

    private Integer id;         //公告id

    private String noticeTitle; //公告标题
    private Author author;   //作者
    private Urgency urgency;  //紧急程度

    private Date date;          //发布日期

    private Integer communityId;//所属小区
    private String detail;      //公告详情
    private String noticePicture;//公告图片
    private String readState;//已读未读状态
}
